package com.serverTechnology.teamsGroups.entity.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 产线模型
 * </p>
 *
 * @author 王凯炫
 * @since 2024-07-29
 */
@Data
public class ProModelAddDto {

    @NotNull(message = "产线模型父id不能为空")
    private Long pid;

    @NotBlank(message = "产线模型名称不能为空")
    private String modelName;

    @NotBlank(message = "产线模型名称不能为空")
    private String encoding;

    private String remark;

    @NotNull(message = "产线模型类型不能为空")
    private Long type;


}
